/*
 * @Author: your name
 * @Date: 2021-12-24 14:51:28
 * @LastEditTime: 2021-12-25 15:55:56
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \yanxuan_2118\src\router\index.js
 */
import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '@/views/Home'
import List from '@/views/List'
Vue.use(VueRouter)

const routes = [
  {
    path: '/home',
    component: Home
  },
  {
    path: '/list',
    component: List
  }
]

const router = new VueRouter({
  routes
})

export default router
